import Vue from 'vue'
import App from './App.vue'
import router from './router'

import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.less'

import axios from './axios/index.js'//  请求响应拦截
import urls from './axios/url.js'//  请求url地址
// import "./components/auto_register.js"; // 组件自动全局注册

Vue.config.productionTip = false

Vue.use(Antd)
Vue.prototype.$axios = axios
Vue.prototype.$url = urls
Vue.prototype.$bus = new Vue()

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
